package asteroids.model.programs.parsing.expressions;

import java.util.Map;

import asteroids.model.CollisionObject;
import asteroids.model.Ship;

public class Self extends Entity {
	
//	public Self(){
//		this.ship = null;	//Default
//	}
//	
//	public Object getContent(ExpressionManager exMan){
//		return exMan.getContent(this);
//	}
//	
//	//IN Expr.Man
//	public Object getContent(Self self){
//		self.setShip(getProgram().getShip());
//	}
	
	
	public Self(){
	}
	public void setShip(Ship ship){
	}
	
	@Override
	public Object getContent(Map<String,E> map, CollisionObject givenCollisionObject) {
		return (Ship)givenCollisionObject;
	}
	public boolean isEntity(){
		return true;
	}
}

